package com.tarena.day0924;

public class RectDemo {

	public static void main(String[] args) {
		Rect r=new Rect(100,200,50);
		System.out.println(r);
		double distance=r.moveTo(100, 100);
		System.out.println(distance);
		System.out.println(r);
	}

}
